<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/app/default/www/styles/common.css" rel="stylesheet" type="text/css" />

<link href="/app/default/www/styles/fromnagahtmlers_tobechanged.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/cad_js/windows.js"></script>
<script src="/cad_js/forms.js" type="text/javascript"></script>
<script type="text/javascript" src="/yui/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="/yui/event/event-min.js"></script>
<script type="text/javascript" src="/yui/connection/connection-min.js"></script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{$pageTitle}</title>
<script>
{literal}
function viewSetup()
{
	var selectedSetup = document.getElementById("menuSetup");
	location.href = selectedSetup.value;

}
{/literal}
</script>
</head>

<body>
<div id="header">
	<h1 class="welcomeText">Welcome {$username}</h1>
	<input id="headerSignout" name="headerSignout" type="button" value="Sign Out" onClick="location.href='/auth/logout/'" />
	<input id="headerFSCal" name="headerFSCal" type="button" value="View Facilities Calendar" onclick="javascript:openWindow('{$fs}','new',800,600,'scrollbars=yes')" /></div>
</div>
<div class="spacer"><form name="topform" method="POST"><a href="#" class="connectlink" style="padding-left:5px" onclick="submitForm('topform','/public/home','new');">Click here to go to Public View</a></form></div>
<div id="navigation">
	<ul>
		{assign var=menuArray value=$menuUtility->generateMenu(0)}
		{foreach from=$menuArray item=menuItem}
			<li {if $currModule == $menuItem.code}class="selected"{/if}><a href="{$menuItem.description}"><span>{$menuItem.value}</span></a></li>
		{/foreach}	
	</ul>
</div>
<div class="spacer"></div>
<div class="content_wrapper">
  {$template_content}
</div>
</body>
</html>